<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <!-- 表单验证需要引入的  -->
<style>


</style>
<link href="inputcheck.css" rel="stylesheet" type="text/css" />

 </head>
 <body>
      <form action="/mysystem/test/testaa.do" id="saveform" method="post">
	    <div class="formbody" id="content">
		    <ul class="forminfo">
			    <li>
					<label>姓名</label>
					<input name="name"  placeholder="请输入姓名" type="text" value="" class="dfinput"  allow="notnull"  />
					<label>确认姓名</label>
					<input  type="text" placeholder="请确认姓名" value="" class="dfinput"  allow="eq:name&&必须和姓名相等"   />
					<hr>
					<label>手机号</label>
					<input name="mobile"  placeholder="请输入手机号码" type="text" value="" class="dfinput"  allow="mobile"   />
					<hr>
					<label>邮箱</label>
					<input name="email"  placeholder="请输入邮箱" type="text" value="" class="dfinput"  must="true" allow="email"   />
					<hr>
					<label>长度必须5-10位</label>
					<input name="email"  placeholder="请输入5-10位" type="text" value="" class="dfinput"  must="true" allow="length:5,10&&最大长度10"   />
					<label>身份证</label>
					<input name="card" placeholder="请输入身份证" type="text" value="" class="dfinput"  must="true" allow="identity"   />
				</li>

		    </ul>
	    </div>
	    <div class="buttombar">
	    	<input name="" type="button" class="btn submit_btn" value="保存"  />
	    </div>
    </form>
 </body>
 <script language="JavaScript" src="jquery-1.9.1.min.js"></script>
 <script language="JavaScript" src="check.js"></script>
 <script>
checkForm("saveform");
 </script>
</html>
